package com.cmpe451.nutty.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "FAVORITE")
public class Favorite extends BaseModel {
	private static final long serialVersionUID = 1L;
	
	@Column(name = "USER_ID")
	private Long user_id;
	
	@Column(name = "RECIPE_ID")
	private Long recipe_id;
	
	public Long getUserId() {
		return user_id;
	}

	public void setUserId(Long userId) {
		this.user_id = userId;
	}

	public Long getRecipeId() {
		return recipe_id;
	}

	public void setRecipeId(Long recipeId) {
		this.recipe_id = recipeId;
	}
}
